#ifndef BOX_H
#define BOX_H

#include <Box2D/Box2D.h>

#include <cstdlib>
#include <iostream>
#include <fstream>
#include <iostream>
#include <time.h>
#include <string.h>

class Box
{
public:
	Box(b2World* world, b2Vec2 boxPosition, float32 boxSize, float32 boxDensity, float32 boxFriction);
	~Box();
	b2Vec2 GetBoxPosition();
	b2Body* GetBoxBody();
	float32 GetBoxFriction();
	void SetBoxFriction(const float32& val);
	float32 GetBoxDensity();
	void SetBoxDensity(const float32& val);
	float32 GetBoxSize();
	void SetBoxSize(const float32& val);
	bool IsBoxTouched();
	void SetBoxTouched(const bool& val);
private:
	b2Vec2 m_boxPosition;
	b2Body* m_boxBody;
	float32 m_boxFriction;
	float32 m_boxDensity;
	float32 m_boxSize;
	b2World* m_world;
	bool m_isTouched;
};
#endif